 ******************************************************************************
 *																			  *
 *								---	Globals	---								  *
 *																			  *
 ******************************************************************************

* Globals for Opening Data and Restrict Data: 
{
global opendata use "$data/SGenderMetaD.dta", clear
global dropvars drop ssalary* ssalarychangedate*
global timerestrict keep if smonthyear<705	
} 

 
* Globals for Definition of Controls for Regressions:
{
global ccontrols	s_total_exp s_total_exp2 days_unemployed s_grad_year 

global skills       html java python  javascript  ios pointnet android sql c ///
					ruby dataanalysis php nodejs css react go r saas linux	 ///
					agile angular swift hadoop scala
					
global preferences	wishind_* csize* cpath_* cgoal_* wishskill_*

global fcontrols    s_primary_field_exp s_choice_location s_current_location ///
					s_primary_field cat_degree ranking csdegree ivyplus  	 ///
					s_contract s_search_status s_sponsorship s_remote 	 ///
					employed faang highest_jobtitle linkedin website   ///
					s_nb_reports nbpastbatch batch_length  $skills
					
global controls 	$ccontrols i.(${fcontrols}) i.(${preferences}) i.smonthyear
global expcontrols 	$ccontrols i.(${fcontrols}) i.(${preferences}) i.smonth smonthyear
}					
				
					
* Global graphs, tables parameters
{
	
* Tables about the Ask Salary
global tableask    replace star(* 0.1 ** 0.05 *** 0.01) b(3) se(3) ///
				   nodep nonum frag keep(1.female) legend label ///
				   varlabels( 1.female "\textbf{Female }") nomtitles  ///
				   mlabels("(1)" "(2)" "(3)" "(4)" "(5)" "(6)" "(7) \vspace{1ex}" , ///
				   lhs("\textbf{Dep. Var.: Log Ask salary}")) ///
				   collabels(none) eqlabels(none) stats(experiencefe locationfe  fieldfe ///
				   educationfe preferencefe employmentfe  firmfe monthfe ///
				   r2_adj  N, fm(0 0 0 0 0 0 0 0 %5.3fc %8.0fc) ///
				   labels("\textbf{Experience}"  "\textbf{City}" ///
				   "\textbf{Occupation}" "\textbf{Education}" ///
				   "\textbf{Work preferences}" "\textbf{Employment history}" ///
				   "\textbf{Recent company FE}" "\textbf{Month $\times$ Year FE}" ///
				   "\textbf{Adj R-squared}" "\textbf{Nb. obs}")) ///
				   prehead("{" "\def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}" "\begin{tabular}{l*{7}{c}}" "\hline\hline") ///
				   postfoot("\hline\hline" "\end{tabular}" "}")	 
				
					
global tableasklevel     replace star(* 0.1 ** 0.05 *** 0.01) ///
				    nodep keep(1.female 1.employed *.ranking *.s_primary_field_exp ///
				    _cons *.cat_degree) ///
				    drop(0.s_primary_field_exp 100.ranking 1.ranking 0.cat_degree ///
						1.cat_degree 4.cat_degree 100.cat_degree) ///
					legend label varlabels( 1.female "& &\\ \textbf{Female }" ///
					1.employed "\textbf{Employed }" _cons "\textbf{Constant}"  ///
					1.female#1.employed "\textbf{Female $\times$ Employed }" ///
					1.s_primary_field_exp "\textbf{Years of experience in the desired occupation} & & \\ & &\\ 2-4" ///
					2.s_primary_field_exp "4-6" 3.s_primary_field_exp "6-10" ///
					4.s_primary_field_exp "10-15" 5.s_primary_field_exp "15+" ///
					2.cat_degree "\textbf{Education}  & &\\ & &\\ Bachelor" ///
					3.cat_degree "Master"   5.cat_degree "PhD" ///
					2.ranking "\textbf{University Ranking}  & &\\ & &\\ 21-100" ///
					3.ranking "101-500" 4.ranking "501-1,000" ///
					5.ranking "1,001-5,000" 6.ranking "5,000+" ) ///
					order(1.female 1.employed 1.s_primary_field_exp ///
						  2.s_primary_field_exp 3.s_primary_field_exp ///
						  4.s_primary_field_exp 5.s_primary_field_exp ///
						  2.cat_degree 3.cat_degree 5.cat_degree ///
						  1.ranking 2.ranking 3.ranking 4.ranking 5.ranking ///
						  6.ranking) nomtitles  ///
					stats(hascontrols timefe  r2_a  N, fm(0 0  3  %8.0fc) ///
					labels("\textbf{Candidate's resume characteristics}" ///
					"\textbf{Month $\times$ Year FE}" "\textbf{Adj R-squared}" ///
					"\textbf{Nb. obs}"))  
					
* Tables about the Bid Salary
global tablebid     replace star(* 0.1 ** 0.05 *** 0.01) b(3) se(3) nodep nonum frag ///
					order(1.female centered_logask 1.female#c.centered_logask) ///
					keep(1.female centered_logask 1.female#c.centered_logask _cons) ///
					legend label varlabels( 1.female "\textbf{Female }" ///
					centered_logask "\textbf{Log Ask salary}" ///
					1.female#c.centered_logask "\textbf{Female  $\times$ Log Ask salary}" ///
				     _cons "\textbf{Constant}") ///
					 nomtitles collabels(none) eqlabels(none) ///
					 stats(hascontrols timefe r2_a  N, fm(0 0 3  %8.0fc) ///
				    labels("\textbf{Candidate's resume characteristics}" ///
					"\textbf{Month $\times$ Year FE}" "\textbf{Adj R-squared}" ///
					"\textbf{Nb. obs}")) ///
					mlabels("(1)" "(2)" "(3)" "(4)" "(5) \vspace{1ex}", ///
					lhs("\textbf{Dep. Var.: Log Bid salary}")) ///
					prehead("{" "\def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}" "\begin{tabular}{l*{5}{c}}" "\hline\hline") ///
					postfoot("\hline\hline" "\end{tabular}" "}")
					
					
global tablebidjob  replace star(* 0.1 ** 0.05 *** 0.01) b(3) se(3) nodep nonum frag ///
					order(1.female centered_logask 1.female#c.centered_logask _cons) ///
					keep(1.female centered_logask 1.female#c.centered_logask _cons) ///
					legend label varlabels(1.female "\textbf{Female }" ///
					centered_logask "\textbf{Log Ask salary}" ///
					1.female#c.centered_logask "\textbf{Female $\times$ Log Ask salary}" ///
				    _cons "\textbf{Constant}") nomtitles collabels(none) eqlabels(none) ///
					stats(hascontrols timefe jobfe r2_adj  N, fm(0 0 0 3 %8.0fc) ///
				    labels("\textbf{Candidate's resume characteristics}" ///
					"\textbf{Month $\times$ Year FE}" "\textbf{Job FE}" ///
					"\textbf{Adj R-squared}" "\textbf{Nb. obs}")) ///
					mlabels("(1)" "(2)" "(3)" "(4)" "(5)" "(6)" "(7)" "(8) \vspace{1ex}", lhs("\vspace{-1ex} & \multicolumn{5}{c}{\textbf{No Job FE}} & \multicolumn{3}{c}{\textbf{Job FE}} \\ \cmidrule(lr){2-6} \cmidrule(lr){7-9} \textbf{Dep. Var.: Log Bid salary} ")) ///
					prehead("{" "\def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}" "\begin{tabular}{l*{8}{c}}" "\hline\hline") ///
					postfoot("\hline\hline" "\end{tabular}" "}")

global tablebidfirm replace star(* 0.1 ** 0.05 *** 0.01) b(3) se(3) nodep  ///
					order(1.female centered_logask 1.female#c.centered_logask) ///
					keep(1.female centered_logask 1.female#c.centered_logask ) ///
					legend label varlabels( 1.female "& &\\ \textbf{Female }" ///
					centered_logask "\textbf{Log Ask salary}" ///
					1.female#c.centered_logask ///
					"\textbf{Female  $\times$ Log Ask salary}") ///
					nomtitles collabels(none) ///
					stats(hascontrols timefe firmfe r2_adj  N, fm(0 0 0 %5.3fc  %8.0fc) ///
					labels("\textbf{Candidate's resume characteristics}" ///
					"\textbf{Month $\times$ Year FE}" "\textbf{Firm FE}" ///
					"\textbf{Adj R-squared}" "\textbf{Nb. obs}"))  	 ///
					mlabels("(1)" "(2)" "(3)" "(4)" "(5) \vspace{1ex}", ///
					lhs("\textbf{Dep. Var.: Log Bid salary}")) ///
					prehead("{" "\def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}" "\begin{tabular}{l*{8}{c}}" "\hline\hline") ///
					postfoot("\hline\hline" "\end{tabular}" "}")
									
global tablefinal    replace star(* 0.1 ** 0.05 *** 0.01) b(3) se(3) nodep nonum frag ///
					order(1.female centered_logask 1.female#c.centered_logask _cons) ///
					keep(1.female centered_logask 1.female#c.centered_logask _cons) ///
					legend label varlabels( 1.female "\textbf{Female }" ///
					centered_logask "\textbf{Log Ask salary}" ///
					1.female#c.centered_logask ///
					"\textbf{Female  $\times$ Log Ask salary}" _cons "\textbf{Constant}") ///
					nomtitles collabels(none) eqlabels(none) ///
					stats(hascontrols timefe firmfe r2_adj  N, fm(0 0 0 %5.3fc  %8.0fc) ///
					labels("\textbf{Candidate's resume characteristics}" ///
					"\textbf{Month $\times$ Year FE}" "\textbf{Firm FE}" ///
					"\textbf{Adj R-squared}" "\textbf{Nb. obs}")) ///
					mlabels("(1)" "(2)" "(3)" "(4)" "(5)" "(6)" "(7)" "(8) \vspace{1ex}", lhs(" \vspace{-1ex} & \multicolumn{5}{c}{\textbf{No Firm FE}} & \multicolumn{3}{c}{\textbf{Firm FE}} \\ \cmidrule(lr){2-6} \cmidrule(lr){7-9} \textbf{Dep. Var.: Log Final salary} ")) ///
					prehead("{" "\def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}" "\begin{tabular}{l*{8}{c}}" "\hline\hline") ///
					postfoot("\hline\hline" "\end{tabular}" "}")  
						
					
global tablebexp1 	replace star(* 0.1 ** 0.05 *** 0.01) b(3) se(3) nodep ///
					nonum frag order(1.female_after 1.female after centered_logask) ///
					keep(1.female_after 1.female after centered_logask) ///
					legend label varlabels(1.female "\textbf{Female }" ///
					centered_logask "\textbf{Log Ask salary}" ///
					after"\textbf{After}" 1.female_after "\textbf{Female $\times$ After}" ///
				    )  nomtitles collabels(none) ///
					stats(depmean hascontrols  jobfe r2_adj  N, fm(2 0 0 3  %8.0fc) ///
				    labels("\textbf{Mean. Dep. Var.}" "\textbf{Candidate's resume characteristics}" ///
					"\textbf{Job FE}" "\textbf{Adj R-squared}" "\textbf{Nb. obs}")) ///
					mlabels("(1)" "(2)" "(3)" "(4)" "(5)" "(6)  \vspace{1ex}", ///
					lhs("\textbf{Dep. Var.:} & \multicolumn{2}{c}{\textbf{Log Ask Salary}} & \multicolumn{3}{c}{\textbf{Log Bid Salary}} & \multicolumn{1}{c}{\textbf{Log Final Salary}} \\ \cmidrule(lr){2-3} \cmidrule(lr){4-6} \cmidrule(lr){7-7}"))  ///
					prehead("{" "\def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}" "\begin{tabular}{l*{6}{c}}" "\hline\hline") ///
					postfoot("\hline\hline" "\end{tabular}" "}"
					

			

* Other Tables

global tableextent	replace star(* 0.1 ** 0.05 *** 0.01) b(3) se(3) ///
					nodep nonum frag order(1.female s_salary s_salary2 1.female#c.s_salary _cons) ///
					keep(1.female s_salary s_salary2 1.female#c.s_salary _cons)  ///
					legend label varlabels( 1.female "\textbf{Female}" ///
					_cons "\textbf{Constant}" s_salary "\textbf{Ask salary}" ///
					s_salary2 "\textbf{Ask salary$^2$}" ///
					1.female#c.s_salary "\textbf{Female $\times$ Ask salary}") ///
					nomtitles collabels(none) eqlabels(none) ///
					stats(margin hascontrols timefe jobfe r2_a N, ///
					fm(3 0 0 0 3 %8.0fc) ///
					labels("\textbf{Poisson / Logit AME on Female}" ///
					"\textbf{Candidate's resume characteristics}" ///
					"\textbf{Month $\times$ Year FE}" ///
					"\textbf{Job FE}" ///
					"\textbf{Adjusted R-squared}" ///
					"\textbf{Nb. obs}")) ///
					mlabels("(1)" "(2)" "(3)" "(4)" "(5)" "(6)" "(7)" "(8) \vspace{1ex}", ///
					lhs("\textbf{Dep. Var.:} & \multicolumn{5}{c}{\textbf{Nb. Bids Received}} & \multicolumn{3}{c}{\textbf{Final Offer Received}} \\ \cmidrule(lr){2-6} \cmidrule(lr){7-9}")) ///
					prehead("{" "\def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}" "\begin{tabular}{l*{8}{c}}" "\hline\hline") ///
					postfoot("\hline\hline" "\end{tabular}" "}")

global tablebexp2 	replace star(* 0.1 ** 0.05 *** 0.01) b(3) se(3) nodep ///
					nonum frag order(1.female_after 1.female after s_salary s_salary2) ///
					keep(1.female_after 1.female after s_salary s_salary2) ///
					legend label varlabels(1.female "\textbf{Female }" ///
					after"\textbf{After}" 1.female_after "\textbf{Female $\times$ After}" ///
				    s_salary "\textbf{Ask salary}" s_salary2 "\textbf{Ask salary$^2$}") /// 
					nomtitles collabels(none) ///
					stats(margin depmean hascontrols r2_a  N, fm(3 2 0 3  %8.0fc) ///
				    labels("\textbf{Poisson AME on Female $\times$ After}" ///
						"\textbf{Mean Dep. Var.} " "\textbf{Candidate's resume characteristics}" ///
						"\textbf{Adj R-squared}" "\textbf{Nb. obs}")) ///
					mlabels("(1)" "(2)" "(3)" "(4)" "(5)" "(6)" "(7)" "(8) \vspace{1ex}", ///
					lhs("\textbf{Dep. Var.:}  &     \textbf{Nb bids }      &    \textbf{Nb hours}         & \textbf{Final offer  }   & \textbf{Firm rank (bid)}  & \textbf{Firm rank (final) }     &    \textbf{ Nb bids  }       & \textbf{Pred-Nb bids  }       & \textbf{Pred-Nb bids  }    \\\cmidrule(lr){2-2} \cmidrule(lr){3-3} \cmidrule(lr){4-4} \cmidrule(lr){5-5} \cmidrule(lr){6-6} \cmidrule(lr){7-7} \cmidrule(lr){8-8} \cmidrule(lr){9-9} "))  ///
					prehead("{" "\def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}" "\begin{tabular}{l*{8}{c}}" "\hline\hline") ///
					postfoot("\hline\hline" "\end{tabular}" "}"
					
					
global tablepredi1 	replace star(* 0.1 ** 0.05 *** 0.01) b(3) se(3) ///
					nodep keep(1.female after 1.female_after) ///
					order( 1.female_after after 1.female) legend label varlabels( 1.female "& &\\  \textbf{Female}" ///
					after " \textbf{After}"  1.female_after " \textbf{Female $\times$ After}") ///
					nomtitles  collabels(none) stats(  r2_a  N, fm(2 0 0 3 %8.0fc)  ///
					labels( "\textbf{Adj R-squared}" "\textbf{Nb. obs}"))
					
					
global tablepredi2 	replace star(* 0.1 ** 0.05 *** 0.01) b(3) se(3) ///
					nodep order(1.female s_primary_field_exp cat_degree 1.employed) ///
					keep(1.female  *.s_primary_field_exp  *.cat_degree 1.employed *.ranking  _cons) drop(0.s_primary_field_exp ///
					0.cat_degree 1.cat_degree 4.cat_degree 100.ranking 1.ranking) legend label varlabels( 1.female ///
					" & &\\ \textbf{Female }" 1.employed "\textbf{Employed}" _cons "\textbf{Constant}"  ///
					1.s_primary_field_exp "\textbf{Years of experience in the desired occupation} & & \\ & &\\ 2-4" ///
					2.s_primary_field_exp "4-6" 3.s_primary_field_exp "6-10" 4.s_primary_field_exp "10-15" 5.s_primary_field_exp ///
					"15+" 2.cat_degree "\textbf{Education}  & &\\ & &\\ Bachelor" 3.cat_degree "Master"   5.cat_degree "PhD" ///
					2.ranking "\textbf{University Ranking}  & &\\ & &\\ 21-100" 3.ranking "101-500" 4.ranking "501-1,000" 5.ranking "1,001-5,000" 6.ranking "5,000+" )  ///
					nomtitles mlabels("Before" "After" , lhs(" \vspace{-1ex} Dep. Var.: Log Ask Salary & &\\ ")) ///
					collabels(none) stats( hascontrols  r2_a  N, fm(  0 3 %8.0fc)  ///
					labels("\textbf{Candidate's resume characteristics}" "\textbf{Adj R-squared}" "\textbf{Nb. obs}"))	
					
global rawfull 		replace b(3) se(3) nonum ///
					mlabels("(1)" "(2) \vspace{1ex}", lhs("\textbf{Dep. Var.: Ask Gap}")) ///
					varlabels(cent_fshare "\textbf{Share of Women}" ///
					_cons "\textbf{Constant}")  ///
					nomtitles collabels(none) eqlabels(none) ///
					stats( hascontrols  r2_a  N, fm(0 3  %8.0fc) ///
					labels("\textbf{Candidate's resume characteristics}" ///
					"\textbf{Adj R-squared}" "\textbf{Nb. obs}"))  nonotes 
					
global updaters    	replace b(3) se(3) keep(centered_logask 1.female#c.centered_logask) ///
					nodep nonum frag order(centered_logask  1.female#c.centered_logask ) star(* 0.1 ** 0.05 *** 0.01) ///
					legend label varlabels(centered_logask "\textbf{Log Ask salary}"  ///
					1.female#c.centered_logask  "\textbf{Female  $\times$ Log Ask salary}") ///
					nomtitles collabels(none) eqlabels(none)  ///
					stats(hascontrols timefe r2_a  N, fm(0 0 3  %8.0fc) ///
					labels("\textbf{Candidate's resume characteristics}" ///
					"\textbf{Month $\times$ Year FE}" "\textbf{Adj R-squared}" ///
					"\textbf{Nb. obs}")) ///
					mlabels("(1)" "(2)" "(3)" "(4)" "(5)" "(6) \vspace{1ex}", lhs("& \multicolumn{2}{c}{\textbf{All Updaters}} & \multicolumn{2}{c}{\textbf{Upward Updaters}} & \multicolumn{2}{c}{\textbf{Downward Updaters}} \\ \cmidrule(lr){2-3} \cmidrule(lr){4-5} \cmidrule(lr){6-7} \textbf{Dep. Var.: Log Bid salary}")) ///
					prehead("{" "\def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}" "\begin{tabular}{l*{6}{c}}" "\hline\hline") ///
					postfoot("\hline\hline" "\end{tabular}" "}")
						
global tablerank	replace star(* 0.1 ** 0.05 *** 0.01) b(3) se(3) nodep nonum ///
					keep(1.female centered_logask _cons) ///
					legend label varlabels( 1.female "\textbf{Female}" ///
					centered_logask "\textbf{Log Ask salary}" ///
					_cons "\textbf{Constant }") nomtitles  ///
					mgroups("\textbf{Firm rank (bid)}" ///
					"\textbf{Firm rank (final)}", ///
					pattern(1 0 0 1 0 0)  ///
					prefix(\multicolumn{@span}{c}{) suffix(}) ///
					span erepeat(\cmidrule(lr){@span})) ///
					collabels(none) ///
					stats(mean hascontrols timefe r2_a N, fm(1 0 0 3 %8.0fc) ///
					labels("\textbf{Mean rank percentile}" ///
					"\textbf{Resume Characteristics}" ///
				    "\textbf{Month $\times$ Year FE}" ///
				    "\textbf{Adj R-squared}" "\textbf{Nb. obs}"))
					
global tablerank2	replace star(* 0.1 ** 0.05 *** 0.01) b(3) se(3) nodep nonum frag ///
					keep(1.female centered_logask _cons) ///
					legend label varlabels( 1.female "\textbf{Female}" ///
					centered_logask "\textbf{Log Ask salary}" ///
					_cons "\textbf{Constant }") nomtitles  ///
					mlabels("(1)" "(2)" "(3)" "(4)" "(5)" "(6) \vspace{1ex}", lhs("\textbf{Dep. Var.:} & 			\multicolumn{3}{c}{\textbf{Firm Rank (Bid)}} & \multicolumn{3}{c}{\textbf{Firm Rank (Final)}} \\ \cmidrule(lr){2-4} \cmidrule(lr){5-7}")) ///
					collabels(none) eqlabels(none) ///
					stats(mean hascontrols timefe r2_a N, fm(1 0 0 3 %8.0fc) ///
					labels("\textbf{Mean rank percentile}" ///
					"\textbf{Resume Characteristics}" ///
				    "\textbf{Month $\times$ Year FE}" ///
				    "\textbf{Adj R-squared}" "\textbf{Nb. obs}")) ///
					prehead("{" "\def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}" "\begin{tabular}{l*{6}{c}}" "\hline\hline") postfoot("\hline\hline" "\end{tabular}" "}")
					
global tableprefs 	replace star(* 0.1 ** 0.05 *** 0.01) b(3) se(3) ///
					nodep nonum frag keep(1.female) ///
					legend label varlabels( 1.female "\textbf{Female }") nomtitles  ///
					prehead("{" "\def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}" "\begin{tabular}{l*{14}{c}}" "\hline\hline" "\textbf{Dep. Var.:} & \textbf{No Preference} & \multicolumn{5}{c}{\textbf{Pref. Company Size}}  & \multicolumn{4}{c}{\textbf{Pref. Industry}} & \multicolumn{4}{c}{\textbf{Pref. Career Goal}} \\" "\cmidrule(lr){2-2}\cmidrule(lr){3-7}\cmidrule(lr){8-11} \cmidrule(lr){12-15} & & 1-15 & 16-50 & 51-200 & 201-500 & 500+ & Hardware, IoT & Finance & Education & Health-Tech & New Technologies & Leadership & Mentorship & Socially Conscious \\" "& (1) & (2) & (3) & (4) & (5) & (6) & (7) & (8) & (9) & (10) & (11) & (12) & (13) & (14) \vspace{1ex} \\") ///
					postfoot("\hline\hline" "\end{tabular}" "}") ///
					collabels(none) eqlabels(none) ///
					stats(m_mean hascontrols timefe r2_a N, fm(3 0 0 3 %8.0fc) ///
					labels("\textbf{Male mean}" ///
					"\textbf{Candidate's resume characteristics}" ///
					"\textbf{Month $\times$ Year FE}" "\textbf{Adj R-squared}" ///
					"\textbf{Nb. obs}")) 
					
global tablecontrols replace star(* 0.1 ** 0.05 *** 0.01) b(3) se(3)  ///
				    nodep nonum frag keep(1.female 1.employed centered_logask ///
				    1.female#c.centered_logask *.ranking *.s_primary_field_exp  *.cat_degree) ///
				    drop(0.s_primary_field_exp 100.ranking 1.ranking 0.cat_degree ///
						1.cat_degree 4.cat_degree 100.cat_degree) ///
					collabels(none) eqlabels(none) ///
					legend label varlabels( 1.female "\textbf{Female }" ///
					1.employed "\textbf{Employed }" ///
					1.female#1.employed "\textbf{Female $\times$ Employed }" ///
					centered_logask "\textbf{Log Ask salary}"  ///
					1.female#c.centered_logask "\textbf{Female $\times$ Log Ask salary}" ///
					1.s_primary_field_exp "\textbf{Years of experience in the desired occupation} & &\\ 2-4" ///
					2.s_primary_field_exp "4-6" 3.s_primary_field_exp "6-10" ///
					4.s_primary_field_exp "10-15" 5.s_primary_field_exp "15+" ///
					2.cat_degree "\textbf{Education} & &\\ Bachelor" ///
					3.cat_degree "Master"   5.cat_degree "PhD" ///
					2.ranking "\textbf{University Ranking} & &\\ 21-100" ///
					3.ranking "101-500" 4.ranking "501-1,000" ///
					5.ranking "1,001-5,000" 6.ranking "5,000+" ) ///
					order(1.female 1.employed centered_logask ///
						  1.female#c.centered_logask 1.s_primary_field_exp ///
						  2.s_primary_field_exp 3.s_primary_field_exp ///
						  4.s_primary_field_exp 5.s_primary_field_exp ///
						  2.cat_degree 3.cat_degree 5.cat_degree ///
						  1.ranking 2.ranking 3.ranking 4.ranking 5.ranking ///
						  6.ranking) nomtitles  ///
					stats(hascontrols timefe  r2_a  N, fm(0 0  3  %8.0fc) ///
					labels("\textbf{Candidate's resume characteristics}" ///
					"\textbf{Month $\times$ Year FE}" "\textbf{Adj R-squared}" ///
					"\textbf{Nb. obs}"))  ///
					mlabels("(1)" "(2)" "(3)" "(4)" "(5) \vspace{1ex}", lhs("\textbf{Dep. Var.:} & \multicolumn{1}{c}{\textbf{Log Ask salary}} & \multicolumn{2}{c}{\textbf{Log Bid salary}} & \multicolumn{2}{c}{\textbf{Log Final salary}} \\ \cmidrule(lr){2-2} \cmidrule(lr){3-4} \cmidrule(lr){5-6}")) prehead("{" "\def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}" "\begin{tabular}{l*{5}{c}}" "\hline\hline") postfoot("\hline\hline" "\end{tabular}" "}")

					
					
global tablebidrace replace star(* 0.1 ** 0.05 *** 0.01) b(3) se(3) nodep nonum frag ///
					collabels(none) eqlabels(none) ///
					order(1.female 1.africanamerican 1.asian 1.hispanic ///
					centered_logask 1.female#c.centered_logask 1.africanamerican#c.centered_logask ///
					1.asian#c.centered_logask 1.hispanic#c.centered_logask) ///
					keep(1.female 1.africanamerican 1.asian 1.hispanic ///
					centered_logask 1.female#c.centered_logask 1.africanamerican#c.centered_logask ///
					1.asian#c.centered_logask 1.hispanic#c.centered_logask _cons) ///
					legend label varlabels( 1.female "\textbf{Female}" ///
					1.africanamerican "\textbf{African American}" ///
					1.asian "\textbf{Asian}" 1.hispanic "\textbf{Hispanic}" ///
					centered_logask "\textbf{Log Ask salary}" ///
					1.female#c.centered_logask "\textbf{Female $\times$ Log Ask salary}" ///
					1.africanamerican#c.centered_logask "\textbf{African American $\times$ Log Ask salary}" ///
				    1.asian#c.centered_logask "\textbf{Asian $\times$ Log Ask salary}" ///
					1.hispanic#c.centered_logask "\textbf{Hispanic $\times$ Log Ask salary}" ///
					 _cons "\textbf{Constant}" )  ///
					nomtitles mlabels("(1)" "(2)" "(3)" "(4)" "(5)" "(6)" "(7)" "(8)" "(9)" "(10)" "(11)" "(12) \vspace{1ex}", lhs(" \textbf{Dep. Var.:} & \multicolumn{2}{c}{\textbf{Log Ask Salary}} & \multicolumn{5}{c}{\textbf{Log Bid Salary}} & \multicolumn{5}{c}{\textbf{Log Final Salary}} \\ \cmidrule(lr){2-3} \cmidrule(lr){4-8} \cmidrule(lr){9-13}")) ///
					prehead("{" "\def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}" "\begin{tabular}{l*{12}{c}}" "\hline\hline") ///
					postfoot("\hline\hline" "\end{tabular}" "}") ///
					stats(hascontrols timefe r2_a  N, fm(0 0 3  %8.0fc) ///
				    labels("\textbf{Candidate's resume characteristics}" ///
					"\textbf{Month $\times$ Year FE}" "\textbf{Adj R-squared}" ///
					"\textbf{Nb. obs}"))   
			
			
* Global for Plots

global plot 	    keep(1.female) yline(0, lcolor(cranberry) lpattern(solid)) ///
					vertical legend(off)  ///
					ylabel(0.02 "2%" 0 "0%" -0.02 "-2%" -0.04 "-4%" -0.06 "-6%" -0.08 "-8%" ) ///
				    ciopts(lwidth(thin) lcolor(gs6) recast(rcap)) ///
					mcolor(black) mfcolor(white) ///
					aseq swapnames xtitle("Total years of experience")
}


